#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>

void chengfa(int num)
{
	for (int i = 1; i <= num; i++)
	{
		for (int j = 1; j <= i; j++)
		{
			printf("%d*%d=%d\t", i, j, i * j);
		}
		printf("\n");
	}
}

int main()
{
	chengfa(12);
	return 0;
}